import {ref} from 'vue'

//页面钩子
const useMainContent = () => {
  //弹出层ref
  const popupRef = ref(null)

  //打开弹出层
  const handleEdit = (formData) => popupRef.value.open(formData)

  return [popupRef, handleEdit]
}


export default useMainContent
